﻿using System;

namespace BLWCMS.Core.Models
{
    public class MaterialModel:BaseModel
    {
        /// <summary>
        /// 素材Id
        /// </summary>
        public long Mid { get; set; }

        /// <summary>
        /// 素材类型
        /// 1-文本素材   2-图文素材
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 素材标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 素材摘要
        /// 仅图文素材有效
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 封面图
        /// </summary>
        public string PicUrl { get; set; }

        /// <summary>
        /// 素材内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate { get; set; }
    }
}
